package exceptions.semantic;

public class UndeclaredVariableException extends SemanticException{
	private int linea;
	private String variable; 
	
	public UndeclaredVariableException(int l, String var) {
		linea = l;
		variable = var;

	}
	
	public String getMessage(){
		return ("UndeclaredVariableException: Error Semantico! "+variable+" Detalle: Variable no declarada. - Linea: "+linea);
	}

}
